@yltrcc/vditor 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vditor v0.0.8 - A markdown editor written in TypeScript.
2
+ * Vditor v0.0.9 - A markdown editor written in TypeScript.
3
3
  *
4
4
  * MIT License
5
5
  *
@@ -25,7 +25,7 @@
25
25
  *
26
26
  */
27
27
  /*!
28
- * Vditor v0.0.8 - A markdown editor written in TypeScript.
28
+ * Vditor v0.0.9 - A markdown editor written in TypeScript.
29
29
  *
30
30
  * MIT License
31
31
  *
@@ -1473,6 +1473,29 @@
1473
1473
  }
1474
1474
  .vditor-wysiwyg a {
1475
1475
  cursor: pointer;
1476
+ color: #4285f4;
1477
+ text-decoration: none;
1478
+ background-color: rgba(66, 133, 244, 0.1);
1479
+ padding: 2px 4px;
1480
+ border-radius: 3px;
1481
+ transition: background-color 0.2s ease;
1482
+ }
1483
+ .vditor-wysiwyg a:hover {
1484
+ background-color: rgba(66, 133, 244, 0.2);
1485
+ text-decoration: underline;
1486
+ }
1487
+ .vditor-wysiwyg a:visited {
1488
+ color: #1266f1;
1489
+ }
1490
+ .vditor-wysiwyg img {
1491
+ cursor: pointer;
1492
+ border: 2px solid transparent;
1493
+ border-radius: 4px;
1494
+ transition: border-color 0.2s ease, box-shadow 0.2s ease;
1495
+ }
1496
+ .vditor-wysiwyg img:hover {
1497
+ border-color: #4285f4;
1498
+ box-shadow: 0 0 8px rgba(66, 133, 244, 0.3);
1476
1499
  }
1477
1500
  .vditor-wysiwyg span[data-type="backslash"] > span {
1478
1501
  display: none;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vditor v0.0.8 - A markdown editor written in TypeScript.
2
+ * Vditor v0.0.9 - A markdown editor written in TypeScript.
3
3
  *
4
4
  * MIT License
5
5
  *
@@ -1267,7 +1267,7 @@ var looseJsonParse = function (text) {
1267
1267
  /* harmony export */ Y: () => (/* binding */ Constants),
1268
1268
  /* harmony export */ g: () => (/* binding */ _VDITOR_VERSION)
1269
1269
  /* harmony export */ });
1270
- var _VDITOR_VERSION = "0.0.8";
1270
+ var _VDITOR_VERSION = "0.0.9";
1271
1271
 
1272
1272
  var Constants = /** @class */ (function () {
1273
1273
  function Constants() {
@@ -1315,7 +1315,7 @@ var Constants = /** @class */ (function () {
1315
1315
  // 别名
1316
1316
  "js", "ts", "html", "toml", "c#", "bat"
1317
1317
  ];
1318
- Constants.CDN = "https://unpkg.com/@yltrcc/vditor@".concat("0.0.8");
1318
+ Constants.CDN = "https://unpkg.com/@yltrcc/vditor@".concat("0.0.9");
1319
1319
  Constants.MARKDOWN_OPTIONS = {
1320
1320
  autoSpace: false,
1321
1321
  gfmAutoLink: true,